home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Linux
/
Kubuntu 8.10
/
kubuntu-8.10-desktop-i386.iso
/
casper
/
filesystem.squashfs
/
var
/
lib
/
dpkg
/
info
/
hal.postrm
< prev
next >
Wrap
Text File
|
2008-10-26
|
708b
|
30 lines
#!/bin/sh
set -e
# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
update-rc.d hal remove >/dev/null || exit $?
fi
# End automatically added section
if [ "$1" = "purge" ] ; then
# Tell dbus to reload it's configuration files only, when we purge the
# package, i.e. when we remove its conffiles in /etc/dbus-1/system.d/
if [ -x /etc/init.d/dbus ]; then
invoke-rc.d dbus force-reload || true
fi
if [ -x "$(command -v deluser)" ]; then
deluser --quiet --system haldaemon > /dev/null || true
else
echo >&2 "Not removing haldaemon system account because deluser command was not found"
fi
rm -f /var/cache/hald/fdi-cache
rmdir /var/cache/hald || true
fi
exit 0